Skip to content

Tidy schedule, enum, and integration cleanups - #413

Merged
jbrooksuk merged 1 commit into
mainfrom
claude/cachethq-core-issues-review-iga64v
Aug 5, 2026
Merged

Tidy schedule, enum, and integration cleanups#413
jbrooksuk merged 1 commit into
mainfrom
claude/cachethq-core-issues-review-iga64v

Conversation

@jbrooksuk

Copy link
Copy Markdown
Member

Summary

This batch resolves small code-quality issues across schedules, enums, and the Oh Dear integration.

Validation

  • Reviewed the branch diff against main.
  • Ran git diff --check.

Resolves a batch of small code-quality issues:

- ScheduleStatusEnum::upcoming() returned the same set as incomplete()
  ([upcoming, in_progress]); it now returns only [upcoming]. (#340)
- Removed the never-persisted $status property from Create/Update
  ScheduleRequestData — the schedules.status column was dropped and the
  value was silently ignored. (#337)
- Added ExternalProviderEnum::componentStatus() to centralise the OhDear
  'up'/'down' to ComponentStatusEnum mapping, replacing the raw magic
  string in ImportOhDearFeed. (#339)
- Deleted the dead UserLevelEnum (the User model uses the is_admin
  boolean) and its now-orphaned user.level translations. (#338)
- Documented that components in a performance_issues state intentionally
  roll up to SystemStatusEnum::partial_outage. (#342)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjCvFouVaM9DEmL7kHZj8M
@jbrooksuk
jbrooksuk force-pushed the claude/cachethq-core-issues-review-iga64v branch from 1680041 to f20ad81 Compare August 5, 2026 08:20
@jbrooksuk
jbrooksuk marked this pull request as ready for review August 5, 2026 08:49
@jbrooksuk
jbrooksuk merged commit 0e83190 into main Aug 5, 2026
23 checks passed
@jbrooksuk
jbrooksuk deleted the claude/cachethq-core-issues-review-iga64v branch August 5, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants